<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
	<title>综合演示用例</title>
	<link type="text/css" href="${ctx}/static/bootstrap/datepicker/datepicker.css" rel="stylesheet" media="screen, projection" />
	<script type="text/javascript" src="${ctx}/static/bootstrap/datepicker/datepicker.js"></script>
	<script type="text/javascript">
		
	</script>
	
	<script type="text/javascript">
		$(document).ready(function() {
			$('#pardatew').datepicker({format: 'yyyy-mm-dd'}).on('changeDate', function(ev){
			});
			$('#pardate').datepicker({format: 'yyyy-mm-dd'}).on('changeDate', function(ev){
			});
			
			$('.pagination a').bind('click', function() {
				$("#pageno").val($(this).text());
				$("form:first").submit();
			});
			$('.pagination a').bind('click', function() {
				document.location="${ctx}/wb/hotrtt/?pageno="+$(this).text()+"&pardate="+$("#pardate").val()
			});
		})
	</script>
</head>

<body>
	<div class="container">
		<div class="row">
			<div id="pardatew" class="input-append date pull-right">
				<input id="pardate" name="pardate" class="span8" type="text" value="${pardate}" size="16" readonly/>
				<span class="add-on"><i class="icon-th"></i></span>
			</div>
		</div>
	<c:forEach items="${hotWbs.result}" var="wb">
		<div class="row">
			<div class="span1"><img src="${wbContent.ir_thumbnail_pic}"></div>
			<div class="span11">
				<a href="${wb.ir_urlname}" target="_blank"><strong>${wb.ir_screen_name}</strong></a>：
				<blockquote>${wb.ir_status_content}</blockquote>
				<div class="row-fluid">
					<div class="span2">${wb.ir_created_at}&nbsp;</div>
					<div class="span2">转发总量${wb.ir_rttcount}&nbsp;</div>
					<div class="span2">评论总量${wb.ir_commtcount}&nbsp;</div>
					<div class="span2">当日转发量${wb.count}&nbsp;</div>
					<div class="span2">时序分析</div>
					<div class="span2">传播路线</div>
				</div>
			</div>
		</div>
		<hr>
	</c:forEach>
		<div class="row">
			<div class="pagination pagination-centered" >
				<ul>
					<li><a href="#">Prev</a></li>
					<li><a href="#">1</a></li>
					<li><a href="#">2</a></li>
					<li><a href="#">3</a></li>
					<li><a href="#">4</a></li>
					<li><a href="#">5</a></li>
					<li><a href="#">6</a></li>
					<li><a href="#">7</a></li>
					<li><a href="#">8</a></li>
					<li><a href="#">9</a></li>
					<li><a href="#">Next</a></li>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>
